package utils;

import exception.InvalidNameException;

public class ValidaNome {

	public static void validaNome(String nome) throws InvalidNameException {
		if (nome == null || nome.isEmpty()) {
			throw new InvalidNameException();
		}
	}
}
